

//Creates a new SkyIslandType. The argument is a biome id.
lapis = new SkyIslandType("minecraft:void")
//Sets the block the island is made of. Defaults to stone. Look at a block in world and use the command `/bnb block` to generate the syntax.
lapis.setMainBlock(<minecraft:lapis_block>)
//Disables biome block replacement
lapis.disableBiomeBlockReplacement()
//Disables biome decorations
lapis.disableDecorations()
//Disables initial animal spawning
lapis.disableAnimals()

iron = new SkyIslandType("minecraft:void")
iron.setMainBlock(<minecraft:iron_block>)
iron.disableBiomeBlockReplacement()
iron.disableDecorations()
iron.disableAnimals()

gold = new SkyIslandType("minecraft:void")
gold.setMainBlock(<minecraft:gold_block>)
gold.disableBiomeBlockReplacement()
gold.disableDecorations()
gold.disableAnimals()

diamond = new SkyIslandType("minecraft:void")
diamond.setMainBlock(<minecraft:diamond_block>)
diamond.disableBiomeBlockReplacement()
diamond.disableDecorations()
diamond.disableAnimals()

emerald = new SkyIslandType("minecraft:void")
emerald.setMainBlock(<minecraft:emerald_block>)
emerald.disableBiomeBlockReplacement()
emerald.disableDecorations()
emerald.disableAnimals()

redstone = new SkyIslandType("minecraft:void")
redstone.setMainBlock(<minecraft:redstone_block>)
redstone.disableBiomeBlockReplacement()
redstone.disableDecorations()
redstone.disableAnimals()


skyIslands = new SkyIslandGenerator()
skyIslands.setRegionSize(29)
addGenerator(skyIslands)



//Adds sky islands. Arguments are radius, number of times to attempt to generate in each region, and whether each island should choose a random type (true), or if types should be used in order (false).
medium = skyIslands.addSkyIslands(50, 32, true)
//Adds a SkyIslandType to the island generator.
medium.addType(lapis)
medium.addType(iron)
medium.addType(gold)
medium.addType(diamond)
medium.addType(emerald)
medium.addType(redstone)

small = skyIslands.addSkyIslands(25, 64, true)
small.addType(lapis)
small.addType(iron)
small.addType(gold)
small.addType(diamond)
small.addType(emerald)
small.addType(redstone)

tiny = skyIslands.addSkyIslands(10, 128, true)
tiny.addType(lapis)
tiny.addType(iron)
tiny.addType(gold)
tiny.addType(diamond)
tiny.addType(emerald)
tiny.addType(redstone)
